package cn.ibizlab.odoo.core.odoo_account.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_account.domain.Account_fiscal_year;
import cn.ibizlab.odoo.core.odoo_account.filter.Account_fiscal_yearSearchContext;

/**
 * 实体[Account_fiscal_year] 服务对象接口
 */

public interface IAccount_fiscal_yearService{
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean remove(Integer id) ;
     boolean update(Account_fiscal_year account_fiscal_year) ;
     void createBatch(List<Account_fiscal_year> account_fiscal_years, int batchSize) ;
     Account_fiscal_year get(Integer id) ;
     Account_fiscal_year get(Account_fiscal_year account_fiscal_year) ;
     void updateBatch(List<Account_fiscal_year> account_fiscal_years, int batchSize) ;
     boolean create(Account_fiscal_year account_fiscal_year) ;

    /**
     * 查询集合 默认查询
     */
    Page<Account_fiscal_year> searchDefault(Account_fiscal_yearSearchContext context) ;

    /**
     * 根据公司查询
     */
     Page<Account_fiscal_year> selectByOdoo_company(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_fiscal_year> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_fiscal_year> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Account_fiscal_year convert2Domain(cn.ibizlab.odoo.core.client.model.Iaccount_fiscal_year model ,Account_fiscal_year domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iaccount_fiscal_year convert2Model(Account_fiscal_year domain , cn.ibizlab.odoo.core.client.model.Iaccount_fiscal_year model);

}
